<!DOCTYPE html>
<html lang="en" xmlns:th="http://www.w3.org/1999/xhtml">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
</head>
<body>
    <h3>密码登录</h3>
    <strong th:text="${msg}" style="color:red"></strong>
    <form action="/login" method="post">
        <input type="text" name="name" /></br>
        <input type="password" name="password" />
        <input type="submit" value="登录"/>
    </form>
    <br>
    <h3>免密登录</h3>
    <form action="/loginNoPwd" method="post">
        <input type="text" name="name" /></br>
        <input type="password" name="password" />
        <input type="submit" value="登录"/>
    </form>
</body>
</html>